/**
 * @(#)MonitorDownloadInfo.java 2017年3月1日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.domian.monitor;


import java.text.DecimalFormat;
import java.util.Date;

import org.jsbd.boss.annotation.ExportExcelAnnotation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 流量下载类
 * @author <a href="mailto:zhouchao@xingbook.com" >周超</a>
 * @version 1.0.0
 */
public class MonitorDownloadInfo extends MonitorColor{
	public static final Logger LOGGER = LoggerFactory.getLogger(MonitorDownloadInfo.class);

	protected static final DecimalFormat RATE_FORMAT = new DecimalFormat("#0.00");
	
    private Date createTime;
    private String mark;
    private String msg;
    
    @ExportExcelAnnotation(index = 1)
    private String key;
    private Double downloadSize;
    @ExportExcelAnnotation(index = 2)
    private String downloadSizeShow;
    
    private String time;
    
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public Double getDownloadSize() {
		return downloadSize;
	}
	public void setDownloadSize(Double downloadSize) {
		this.downloadSize = downloadSize;
		this.downloadSizeShow=RATE_FORMAT.format(downloadSize);
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getDownloadSizeShow() {
		return this.downloadSizeShow;
	}
	public void setDownloadSizeShow(String downloadSizeShow) {
		this.downloadSizeShow = downloadSizeShow;
	}
	
	
	
}
